package cn.imvc.app.models;

import org.springframework.data.domain.Page;
import cn.imvc.app.entities.Notice;
import cn.imvc.data.domain.ViewRequest;

public interface NoticeModel{
	Page<Notice> find(ViewRequest viewRequest);

	Notice get(int id);

	Notice save(Notice entity);

	Notice update(Notice entity);

	void delete(int id);

	void deleteBatch(int[] ids);
}